package com.house.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.house.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 退租对象对象 quit
 * 
 * @author tc
 * @date 2022-02-25
 */
public class Quit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 退租编号 */
    private Long quitId;

    /** 房屋编号 */
    private Long houseId;

    /** 申请人编号 */
    private Long userId;

    /** 退租日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date quitTime;

    /** 状态 0:启用 1:停用 */
    private String status;

    public void setQuitId(Long quitId) 
    {
        this.quitId = quitId;
    }

    public Long getQuitId() 
    {
        return quitId;
    }
    public void setHouseId(Long houseId) 
    {
        this.houseId = houseId;
    }

    public Long getHouseId() 
    {
        return houseId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setQuitTime(Date quitTime) 
    {
        this.quitTime = quitTime;
    }

    public Date getQuitTime() 
    {
        return quitTime;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("quitId", getQuitId())
            .append("houseId", getHouseId())
            .append("userId", getUserId())
            .append("quitTime", getQuitTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("remark", getRemark())
            .toString();
    }
}
